package com.hakim.wfb.admin.result.interest;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hkfs.fundamental.api.data.DataObjectBase;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by walkman on 2017/7/27.
 */
public class ConsumeInterestView extends DataObjectBase {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long interestId;

    /**
     * 消费规则Id
     */
    private String ruleId;
    /**
     * 收益日期
     */
    private Date interestDate;
    /**
     * 收益日息
     */
    private BigDecimal interest;

    public Long getInterestId() {
        return interestId;
    }

    public void setInterestId(Long interestId) {
        this.interestId = interestId;
    }

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public Date getInterestDate() {
        return interestDate;
    }

    public void setInterestDate(Date interestDate) {
        this.interestDate = interestDate;
    }

    public BigDecimal getInterest() {
        return interest;
    }

    public void setInterest(BigDecimal interest) {
        this.interest = interest;
    }
}
